﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using SharpRedisDesktopManager.Core.Models;
using System.Collections.ObjectModel;

namespace SharpRedisDesktopManager.Core.ViewModels
{
    public class MainWindowViewModel : BaseViewModel
    {
        private BindingList<RedisConnectionInfo> connectionInfos;
        public BindingList<RedisConnectionInfo> ConnectionInfos
        {
            get { return connectionInfos; }
            set
            {
                if (connectionInfos == value) return;
                connectionInfos = value;
                NotifyPropertyChanged();
            }
        }
    }
}
